<table id="product_table" ref="Product" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
		  	
		  
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">
			 	编号
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"name")||fields=="*"||(!fields && true)}}' tdid="2" ref="name"   title="商品名">
			 	商品名
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"merchant")||fields=="*"||(!fields && true)}}' tdid="3" ref="merchant"   title="品牌信息">
			 	品牌信息
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"uid")||fields=="*"||(!fields && true)}}' tdid="4" ref="uid"   title="用户编号">
			 	用户编号
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"nickName")||fields=="*"||(!fields && true)}}' tdid="5" ref="nickName"   title="会员名称">
			 	会员名称
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && true)}}' tdid="6" ref="commodity"   title="商品信息">
			 	商品信息
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"pPrice")||fields=="*"||(!fields && true)}}' tdid="7" ref="pPrice"   title="价格">
			 	价格
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"pUnit")||fields=="*"||(!fields && true)}}' tdid="8" ref="pUnit"   title="单位">
			 	单位
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"number")||fields=="*"||(!fields && true)}}' tdid="9" ref="number"   title="数量">
			 	数量
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"attribute")||fields=="*"||(!fields && true)}}' tdid="10" ref="attribute"   title="规格属性">
			 	规格属性
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"pTermValidity")||fields=="*"||(!fields && true)}}' tdid="11" ref="pTermValidity"   title="有效期">
			 	有效期
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' tdid="12" ref="updateTime"   title="修改时间">
			 	修改时间
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' tdid="13" ref="addTime"   title="添加时间">
			 	添加时间
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' tdid="14" ref="status"   title="状态">
			 	状态
			 </td>
		 
		 
		 	
		 	
			
			
			
			<td  width="105"  class="operation" tdid="15" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
			
		    
			 
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.id$ || item.id}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"name")||fields=="*"||(!fields && true)}}' ref="name" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.name$ || item.name}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"merchant")||fields=="*"||(!fields && true)}}' ref="merchant" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.merchant}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/business/merchant.edit.html?key={{item.merchant}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.merchant$ || item.merchant}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"uid")||fields=="*"||(!fields && true)}}' ref="uid" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.uid$ || item.uid}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"nickName")||fields=="*"||(!fields && true)}}' ref="nickName" class="inc {{index%2==0?'odd':'even'}}  ">
					 
					 
					 
					 
					 	{{item.nickName$ || item.nickName}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && true)}}' ref="commodity" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.commodity}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/goods/commodity.edit.html?key={{item.commodity}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.commodity$ || item.commodity}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"pPrice")||fields=="*"||(!fields && true)}}' ref="pPrice" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.pPrice$ || item.pPrice}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"pUnit")||fields=="*"||(!fields && true)}}' ref="pUnit" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.pUnit$ || item.pUnit}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"number")||fields=="*"||(!fields && true)}}' ref="number" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.number$ || item.number}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"attribute")||fields=="*"||(!fields && true)}}' ref="attribute" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.attribute$ || item.attribute}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"pTermValidity")||fields=="*"||(!fields && true)}}' ref="pTermValidity" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.pTermValidity$ || item.pTermValidity}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' ref="updateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.updateTime$ || item.updateTime}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' ref="addTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.addTime$ || item.addTime}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' ref="status" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.status$ || item.status}}
					  
				</td>
		  
		  
		  	
		  	
			
			
			
			<td class="operation {{index%2==0?'odd':'even'}}">
				
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/products/product.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				
				
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/products/product.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>